package com.liu.blindBox.service;

import com.liu.blindBox.entity.qo.SaleInfoQO;
import com.liu.blindBox.entity.qo.ShoppingCartInfoQO;
import com.liu.blindBox.entity.vo.ShoppingCartBlindBoxInfoVO;

import java.util.List;

public interface ShoppingCartService {

    void addBlindBoxShoppingCart(String userId, ShoppingCartInfoQO shoppingCartInfoQO);

    void deleteBlindBoxShoppingCart(String userId, ShoppingCartInfoQO shoppingCartInfoQO);

    List<ShoppingCartBlindBoxInfoVO> queryBlindBoxShoppingCart(String userId);

    int buyBlindBox(List<SaleInfoQO> saleInfoQOList, String userId);
}
